package com.tfjybj.itoo.exam.model;

import com.tfjybj.itoo.exam.entity.TemplateEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.List;

/**
 * ExamPaperModel
 * 试卷信息（前台需要的试卷信息）
 *
 * @author 任蒙蒙
 * @version 2.0.0
 * @since 2.0.0 2018-11-17 9:50:28
 */
@ApiModel(value = "ExamPaperModel:试卷信息")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamPaperModel extends TemplateEntity implements Serializable {

    /**
     * 试卷题型
     */
    @ApiModelProperty(value = "试卷题型", required = true)
    private List<ExamTemPaperQuestionTypeModel> paperQuestionTypeList;

    /**
     * 学生得分
     */
    @ApiModelProperty(value = "学生得分", required = true)
    private String paperScore;

    /**
     * 题型序号
     */
    @ApiModelProperty(value = "题型序号", required = true)
    private String questionMainOrder;


    /**
     * 考试类型
     */
    @ApiModelProperty(value = "考试类型", required = true, example = "0")
    private Integer examType;


    /**
     * 考试id
     */
    @ApiModelProperty(value = "考试id", required = true)
    private String examinationId;

    /**++++++++++++++++++++++++++++++试卷详细信息+++++++++++++++++++++++++**/
    /**
     * courseId
     */
    @ApiModelProperty(value = "课程id")
    private String courseId;
    /**
     * 模版id
     */
    @ApiModelProperty(value = "模版id", required = true)
    private String templateId;

    /**
     * 考试时长
     */
    @ApiModelProperty(value = "考试时长", required = true, example = "120")
    private Integer paperdDuration;

    /**
     * 题型分值
     */
    @ApiModelProperty(value = "题型分值", required = true)
    private String typeScore;
    /**
     * 题型个数
     */
    @ApiModelProperty(value = "题型个数", required = true, example = "10")
    private Integer typeNum;
    /**
     * 小题分值
     */
    @ApiModelProperty(value = "小题分值", required = true)
    private String smallScore;
    /**
     * 题型描述
     */
    @ApiModelProperty(value = "题型描述", required = true)
    private String typeDescribe;
    /**
     * 试卷名称
     */
    @ApiModelProperty(value = "试卷名称", required = true)
    private String name;
    /**
     * 题型编号
     */
    @ApiModelProperty(value = "题型编号", required = true)
    private String typeCode;
    /**
     * 题型名称
     */
    @ApiModelProperty(value = "题型名称", required = true)
    private String typeName;
    /**
     * 题型id
     */
    @ApiModelProperty(value = "题型id", required = true)
    private String typeId;
    /**
     * 题型简介
     */
    @ApiModelProperty(value = "题型简介", required = true)
    private String typeDescription;


    /**++++++++++++++++++++++++++++试卷详细信息+++++++++++++++++++++++++++**/
    /**
     * 考试分类id
     */
    @ApiModelProperty(value = "考试分类id", required = true)
    private String examclassifyId;

    /**
     * 题型顺序
     */
    //@ApiModelProperty(value = "题型顺序", example = "1")
    private Integer questionTypeOrder;


}
